/**
 * 公共的配置和方法
 **/
// 自定义元素的类型 之前定义的就是bpmn:Task
const customElements = ['bpmn:lufei', 'bpmn:namei']
const customConfig = {
  // 自定义元素的配置(后面会用到)
  // 'bpmn:Task': {
  //   'url': 'https://img0.baidu.com/it/u=3355887662,1298272292&fm=26&fmt=auto&gp=0.jpg',
  //   'attr': {x: 0, y: 0, width: 48, height: 48}
  // },
  'bpmn:lufei': {
    url: 'https://img0.baidu.com/it/u=2349877463,2527245160&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500',
    attr: {
      x: 0,
      y: 0,
      width: 200,
      height: 200
    }
  },
  'bpmn:namei': {
    url: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fc-ssl.duitang.com%2Fuploads%2Fitem%2F202007%2F02%2F20200702233225_hAMLN.thumb.1000_0.jpeg&refer=http%3A%2F%2Fc-ssl.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1627806086&t=95e5f3969fd8fc6398b99a2f904a6053',
    attr: {
      x: 0,
      y: 0,
      width: 200,
      height: 200
    }
  }
}
export { customElements, customConfig }
